public class AirConditioner implements Device {
    private String brand;

    public AirConditioner(String brand) {
        this.brand = brand;
    }

    @Override
    public void powerOn() {
        System.out.println(brand + "空调开机,默认制冷模式");
    }

    @Override
    public void powerOff() {
        System.out.println(brand + "空调关机,已记忆设置");
    }

    @Override
    public void repair() {
        System.out.println(brand + "空调报修: 可能不制冷或异响");
    }
}
